package com.funo.logic.support;

/**
 * @author fantasy
 * @date 2024-04-10 20:25
 */
public enum InterfaceMethodEnum implements EnumsValue{
    GET("get","get"),
    POST("post","post"),
    PUT("put","put"),
    DELETE("delete","delete"),
    PATCH("patch","patch"),
    ;

    private final String code;
    private final String label;

    InterfaceMethodEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }

    @Override
    public Object getCode() {
        return code;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
